import { FC } from 'react'
import Tabs from './tabs'
import { TabsProps } from './config'
import TabItem, { TabItemProps } from './TabItem'

export * from './config'
export * from './tabs'

export type ITabsComponent = FC<TabsProps> & {
  TabItem: FC<TabItemProps>
}

const TransTabs = Tabs as ITabsComponent
TransTabs.TabItem = TabItem

export default TransTabs
